<%@page language="java" contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<title>菜单添加</title>
	<meta charset="utf-8">
	<style>
        .w70 {width: 70px !important;}
        .table {
        	padding:10px;
        }
        .form-group{
        	padding-top: 10px;
        }
    </style>
    <%@include file="/common/table.jsp"%>
</head>
<body>
<div class="col-md-12">
<form class="form-horizontal" id="addForm" action="${ctx }/sys/systuser/save.action">
    <c:if test="${oper=='edit' }">
    	<input type="hidden" name="id" value="${entity.id }">
    	<input type="hidden" name="pid" value="${entity.pid }">
    </c:if>
    <c:if test="${oper=='input' }">
    	<input type="hidden" name="pid" value="0">
    </c:if>
    <c:if test="${oper=='inputSub' }">
    	<input type="hidden" name="pid" value="${entity.id }">
    </c:if>
	<div class="hr-line-dashed"></div>
	<div class="form-group">
        <label class="col-sm-3 control-label">菜单名称：</label>
        <div class="col-sm-9">
            <input type="text" name="vcName" value="${entity.vcName }" class="form-control" placeholder="请输入用户名"> 
        </div>
    </div>
	<div class="hr-line-dashed"></div>
    <div class="form-group">
        <label class="col-sm-3 control-label">菜单地址：</label>
        <div class="col-sm-9">
            <input type="text" name="vcUrl" value="${entity.vcUrl }" class="form-control" placeholder="请输入手机号"> 
        </div>
    </div>
	<div class="hr-line-dashed"></div>
    <div class="form-group">
        <label class="col-sm-3 control-label">权限标识：</label>
        <div class="col-sm-9">
            <input type="text" name="vcPermission" value="${entity.vcPermission }" class="form-control" placeholder="权限标识"> 
        </div>
    </div>
	<div class="hr-line-dashed"></div>
    <div class="form-group">
        <label class="col-sm-3 control-label">拍序号：</label>
        <div class="col-sm-9">
            <input type="text" name="nOrder" value="${entity.nOrder }" class="form-control" placeholder="请输入排序号"> 
        </div>
    </div>
	<div class="hr-line-dashed"></div>
    <div class="form-group">
        <div class="col-sm-9">
            <input type="checkbox" name="vcSee" ${entity.vcSee=='1'?'checked':'' } value="1">显示
        </div>
    </div>
</form>
</div>
<script>
	var formData = function(){
		return $('#addForm').serialize();
	}
</script>
</body>
</html>